package com.olda.play.common;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 */
@SpringBootApplication
@EnableSwagger2
@DubboComponentScan(value = "com.olda.play.common.service")
@EnableDiscoveryClient
public class CommonPlayApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context= SpringApplication.run(CommonPlayApplication.class, args);
    }
}
